package name.hankc.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import name.hankc.spring.bean.awared.AwaredTestBean;

public class AwareApplication {

  public static void main(String[] args) throws Exception {
    ApplicationContext ctx = new AnnotationConfigApplicationContext(AwareConfiguration.class);
    AwaredTestBean bbb = ctx.getBean(AwaredTestBean.class);
    bbb.printBeanNames();
  }
}